//
//  ICMCarePackageCell.h
//  ICrEAM
//
//  Created by rainimute on 16/10/27.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ICMCarePackageCell : UITableViewCell

@property (nonatomic, strong) UIButton *selectedStateButton;

@property (nonatomic, strong) UILabel *packageTitleLabel;

- (void)setupCarePackageCellWithSelectedState:(BOOL)isSelected andTitle:(NSString*)title;

@end

/************************ICMCareItemCell************************/

@class ICMCareItemCell;
@protocol  ICMCareItemCellDelegate <NSObject>

@optional
- (void)itemTextFieldHaveChanged:(NSString *)text;
- (void)itemCellStateButtonAction:(ICMCareItemCell*)cell;

@end

@interface ICMCareItemCell : UITableViewCell<UITextFieldDelegate>

@property (nonatomic, weak) id<ICMCareItemCellDelegate>delegate;

@property (nonatomic, assign) BOOL isLast;

@property (nonatomic, strong) UIButton *selectedStateButton;

@property (nonatomic, strong) UILabel *itemTitleLabel;

@property (nonatomic, strong) UILabel *itemSubTitleLabel;

@property (nonatomic, strong) UITextField *itemTextField;

@property(nonatomic,strong)UIButton *itemButton;
@property(nonatomic,copy)ICrEAMBlock vehicleBlock;

- (void)setupCareItemCellWithSelectedState:(BOOL)isSelected andTitle:(NSString*)title isHaveSubTitle:(BOOL)isHaveSubTitle andSubTitle:(NSString*)subTitle isLast:(BOOL)isLast ishideBtn:(BOOL)ishide andValue:(NSString *)value;


@end
